home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / softg203.u16 < prev    next >
Text File  |  1986-04-24  |  16KB  |  386 lines

  1. SOFTG203.UNP        Breaking Softguard version 2.03 & 2.03A
  2. version 15                                          by The Lone Victor
  3.  
  4.      United States copyright law SPECIFICALLY grants you the right to
  5. make copies of programs you buy on magnetic media.  Programs are copy
  6. protected IN VIOLATION OF YOUR RIGHTS UNDER U.S. LAW.
  7.  
  8.      Programs that are protected by the Softguard system are distinguished
  9. by the files CML0203.HCL and VDF0203.VDW which are hidden in the root
  10. directory when you install the program on your fixed disk.  The 0203
  11. part of the file names is the Softguard version (2.03) while CML stands
  12. for Common Loader and VDF is the Volume Descriptor File.  The extensions
  13. HCL and VDW stand for Hard-disk Common Loader and Verify Descriptor Working
  14. copy.  In addition, there will be a hidden root file with a .EXE or .LOD
  15. or some other extension.  This is the REAL program, which has been
  16. encrypted and hidden.
  17.  
  18.      The program <PRODUCT>.COM, in the product directory is the Softguard
  19. miniloader.  All it does is call the Common Loader.  For example, when you
  20. run CLIPPER, the program CLIPPER.COM loads CML0203.HCL high in memory and
  21. runs it.  CML decrypts itself and reads VDF0203.VDW.  The VDF file contains
  22. some code and data from the fixed disk FAT at the time of installation.  By
  23. comparing the information in the VDF file with the current FAT, CML can tell
  24. if the CML, VDF, and CLIPPER.L23 files are in the same place on the disk
  25. where they were installed.  If they have moved, say from a backup & restore,
  26. then CLIPPER will not run.
  27.  
  28.      This text file is designed to let you unprotect ANY of the programs
  29. using the Softguard 2.03 system.  We will use CLIPPER as an example,
  30. but values for other programs will be included in a table.  This text will
  31. not unprotect any programs using Softguard 2.00.  To unprotect Softguard
  32. 2.00, see the file SOFTG200.  Versions 1.00 of dBase III and Framework
  33. used ProLock.  To unprotect Prolock disks read the file PROLOCK.UNP,
  34. also by yours truly.
  35.  
  36.      This table is an experiment designed to keep down the number of
  37. files uploaded to BBS's.  When I started it, this text file was named
  38. SOFTG203.UN1.  Whenever you add a product to the table (including your
  39. "name" if desired) increment the file name by one and upload it to your
  40. local BBS.  Don't worry about the fact that others will be doing the same.
  41. Higher versions of SOFTG203.UNx will not INSURE that they contain all the
  42. tabulated products, but will be MORE LIKELY to contain them all.
  43. Eventually we'll get them all collected.  (Could this be a new type of
  44. electronic chain letter?)
  45.  
  46.      If you find a new program to add to the table, just enter the name of
  47. the encrypted, hidden file in the root directory, and it's size, converted
  48. to HEX.  Try it out before you upload it to your BBS.
  49.  
  50.      If you have any comments on this unprotect routine or the PROLOCK.UNP
  51. routine, please leave them on the Atlanta PCUG BBS (404) 433-0062.
  52.  
  53.                                           The Lone Victor - 7/14/85
  54.  
  55.  
  56.  
  57.             TABLE OF VALUES FOR VARIOUS PROTECTED PROGRAMS
  58.  
  59.                   FILE    FINAL
  60. PRODUCT  VERSION  NAME     EXT  SIZE:  BX=  CX=        CONTRIBUTOR
  61. ------------------------------------------------------------------------
  62.  
  63. Clipper     1.00  CLIPPER  EXE  BX = 1  CX = 9800  The Lone Victor 7/14/85
  64. Spotlight   1.1   SL       EXE  BX = 0  CX = 6600  HARD DISK USER  7/25/85
  65. dBASE III Developer's Release
  66.                   DBASE    EXE  BX = 1  CX = C000  Vanishing/|\Point 10/85
  67. dBCODE      1.62  DBC      COM  BX = 0  CX = 5A00  Vanishing/|\Point 10/85
  68. dBRUN             DBRUN    COM  BX = 1  CX = AC00  <<BOLTAR>>     11/01/85
  69.  
  70.  
  71.  
  72.  
  73.         USE THE SECOND UNPROTECT METHOD FOR THE FOLLOWING PROGRAMS
  74.  
  75.                   FILE    FINAL
  76. PRODUCT  VERSION  NAME     EXT  SIZE:  BX=  CX=        CONTRIBUTOR
  77. ------------------------------------------------------------------------
  78.  
  79. Clipper     S85   CLIPPER  EXE  BX = 1  CX = 9800  Hate Protection  9/23/85
  80. Doubledos   2.1R  DOUBLEDO EXE  BX = 0  CX = 4800  Godfather       10/02/85
  81. Sprdsht Auditor 2.00   AU  EXE  BX = 2  CX = 9400  The Lone Victor 10/31/85
  82. Realia      2.00  REALCOB  EXE  BX = 0  CX = 6C00  Another Victor  11/10/85
  83. Framework II      FW       EXE  BX = 3  CX = 7600  <<BOLTAR>> & Co.11/23/85
  84. Disk Optimizer    OPTIMIZE COM  BX = 0  CX = 4100  CODEBUSTER      12/05/85
  85. Doubledos   2.1T  DOUBLEDO EXE  BX = 0  CX = 4600  <<BOLTAR>>      12/28/85
  86. Disk Optimizer for Version 1.2
  87.                   OPTIMIZE EXE  BX = 0  CX = 4600  <<BOLTAR>> & Co.12/28/85
  88.  
  89.  
  90.            USE THE THIRD UNPPROTECT METHOD FOR SOFTGUARD 2.03A
  91.  
  92.                   FILE    FINAL
  93. PRODUCT  VERSION  NAME     EXT  SIZE:  BX=  CX=        CONTRIBUTOR
  94. ------------------------------------------------------------------------
  95.  
  96. 123         2.00  123      EXE  BX = 0  CX = 1C00  The Lone Victor 11/04/85
  97. PARADOX     1.00  PARADOX  EXE  BX = 0  CX = 8C30  The Blot        11/12/85
  98.  
  99.  
  100.  
  101.     The following instructions show you how to bypass the SoftGuard copy
  102. protection scheme using CLIPPER version 1.00 as an example.  To use it
  103. with other products, simply substitute the values in the table above for
  104. the values given below.  The only things that change are the file name,
  105. and the size that goes in the BX:CX register pair.  You can obtain the file
  106. size by loading the encrypted file (e.g. CLIPPER.L23) with DEBUG and doing
  107. the Register command.  The file size is in the BX:CX register pair.
  108.  
  109.  
  110.  
  111.                         -- INSTRUCTIONS --
  112.  
  113.      First, using your valid, original CLIPPER diskette, install it on a
  114. fixed disk.  You cannot use this text to unprotect the floppy directly!
  115. Softguard hides three files in your fixed disk root directory: CML0203.HCL,
  116. VDF0203.VDW, and CLIPPER.L23.  It also copies CLIPPER.COM into your chosen
  117. CLIPPER directory.  CLIPPER L23 is the real CLIPPER program, encrypted.  The
  118. extension of this file does not matter.  It is really an encrypted .EXE file.
  119.  
  120.      Second, un-hide the three files in the root directory.  You can do
  121. this with the programs ALTER.COM or FM.COM found on any BBS.
  122.  
  123.      Make copies of the three files, and of CLIPPER.COM, into some other
  124. directory.
  125.  
  126.      Hide the three root files again using ALTER or FM.
  127.  
  128.      Following the CLIPPER instructions, UNINSTALL CLIPPER.  You can now
  129. put away your original CLIPPER diskette.  We are done with it.
  130.  
  131.      Now copy your four saved files back into the root directory and hide
  132. the CML0203.HCL, VDF0203.VDW, and CLIPPER.L23 files using ALTER or FM.
  133.  
  134.      We can now run CLIPPER.COM using DEBUG, trace just up to the point
  135. where it has decrypted CLIPPER.EXE, then write that file out.
  136.  
  137.           ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  138.      ****  E.G. USE FW.COM INSTEAD OF CLIPPER.COM FOR FRAMEWORK  ****
  139.  
  140. debug CLIPPER.com               ; name of file that runs the product
  141. r <CR>                          ; dump debug's registers
  142.  
  143.           ****  WRITE DOWN THE VALUE OF DS FOR USE BELOW.  ****
  144.      ****  THIS VALUE IS DEPENDENT ON YOUR PARTICULAR MACHINE. ****
  145.  
  146. g 4D7                           ; now we can trace CML
  147. t
  148. g 1B5
  149. t
  150. e cs:A2
  151.         74.EB                   ; debug reports the 74 here, you enter EB
  152. e cs:127
  153.         E8.90 D2.90 05.90       ; you enter the 90's followed by a space.
  154.                                 ; If you get a D1 instead of D2 skip to
  155.                                 ; the next page for the second version 2.03
  156. g 127
  157. a 186
  158.         jmp 1C6
  159.         <CR>                    ; this second CR gets you out of the assembler
  160. a 22C
  161.         jmp 266
  162.         <CR>
  163. a 420
  164.         mov ax,22
  165.         <CR>
  166. e cs:430
  167.         01.89                   ; debug reports the 01, you enter 89
  168. a 4CF
  169.         mov bl,7C
  170.         <CR>
  171. g 4E0
  172. g 282
  173. t
  174. g 24D
  175. t
  176. g 59F                           ; wait while reading VDF & FAT
  177. g=5AA 5BA
  178. g=5C2 9D3                       ; CLIPPER.EXE has been decrypted
  179.  
  180. d cs:1E0 L8                     ; just for grins, here's the password
  181.                '44250A15'
  182.  
  183.               ****  USE THE FILE SIZE LISTED IN THE TABLE ABOVE  ****
  184.                ****  THE VALUES HERE ARE FOR CLIPPER 1.00 ONLY  ****
  185.  
  186. rBX <CR>
  187. :1                              ; set BX to 1 for CLIPPER
  188. rCX <CR>
  189. :9800                           ; set CX to 9800 for CLIPPER
  190.  
  191.               ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  192.  
  193. nCLIPPER.bin                    ; name of file to write to
  194. w XXXX:100                      ; where XXXX is the value of DS that
  195.                                 ;   you wrote down at the beginning.
  196. q                               ; quit debug
  197.  
  198.      Last, unhide and delete the three root files CML0203.HCL, VDF0203.VDW,
  199. and CLIPPER.L23.  Delete CLIPPER.COM and rename CLIPPER.BIN to CLIPPER.EXE.
  200. This is the real CLIPPER program without any SoftGuard code or encryption.
  201. We could not write it out with the .EXE extension because DEBUG cannot write
  202. .EXE files.  Every protected program I have seen has the .EXE extention, but
  203. it is possible to use Softguard to encrypt .COM files too.  See the table
  204. above for the proper extension to put on the decrypted file.
  205.  
  206.  
  207.      There is another version of the Softguard system, ALSO labeled 2.03,
  208. but which differs by one byte in part of the CML file and 7 bytes in
  209. another.  If you start to apply the above patches and find some of the
  210. bytes do not match, try the following instructions:
  211.  
  212. debug CLIPPER.com               ; name of file that runs the product
  213. r <CR>                          ; dump debug's registers
  214.  
  215.           ****  WRITE DOWN THE VALUE OF DS FOR USE BELOW.  ****
  216.      ****  THIS VALUE IS DEPENDENT ON YOUR PARTICULAR MACHINE. ****
  217.  
  218. g 4D7                           ; now we can trace CML
  219. t
  220. g 1B5
  221. t
  222. e cs:A2
  223.         74.EB                   ; debug reports the 74 here, you enter EB
  224. e cs:127                        ; HERE START THE 1 BYTE DIFFERENCES
  225.         E8.90 D1.90 05.90       ; you enter the 90's followed by a space.
  226. g 127
  227. a 185
  228.         jmp 1C5
  229.         <CR>                    ; this second CR gets you out of the assembler
  230. a 22B
  231.         jmp 265
  232.         <CR>
  233. a 41F
  234.         mov ax,22
  235.         <CR>
  236. e cs:42F
  237.         01.89                   ; debug reports the 01, you enter 89
  238. a 4CE
  239.         mov bl,7A
  240.         <CR>
  241. g 4DF
  242. g 281
  243. t
  244. g 24D
  245. t                               ; HERE ARE THE 7 BYTE DIFFERENCES
  246. g 5A6                           ; wait while reading VDF & FAT
  247. g=5B1 5C1
  248. g=5C9 9DA                       ; CLIPPER.EXE has been decrypted
  249.  
  250. d cs:1E7 L8                     ; just for grins, here's the password
  251.                'SUMMER85'
  252.  
  253.               ****  USE THE FILE SIZE LISTED IN THE TABLE ABOVE  ****
  254.              ****  THE VALUES HERE ARE FOR CLIPPER SUMMER 85 ONLY  ****
  255.  
  256. rBX <CR>
  257. :1                              ; set BX to 1 for CLIPPER
  258. rCX <CR>
  259. :9800                           ; set CX to 9800 for CLIPPER
  260.  
  261.               ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  262.  
  263. nCLIPPER.bin                    ; name of file to write to
  264. w XXXX:100                      ; where XXXX is the value of DS that
  265.                                 ;   you wrote down at the beginning.
  266. q                               ; quit debug
  267.  
  268. REN CLIPPER.BIN CLIPPER.EXE
  269.                                           The Lone Victor - 9/20/85
  270.  
  271.  
  272. SOFT203A.UNP        Breaking Softguard version 2.03A
  273. version 1                                           by The Lone Victor
  274.  
  275.      There is a THIRD version of the Softguard system, labeled 2.03A,
  276. which is used by Lotus for 123 release 2.
  277.  
  278.      First, using your valid, original 123 diskette, install it on a
  279. fixed disk.  You cannot use this text to unprotect the floppy directly!
  280. Softguard hides three files in your fixed disk root directory: CML0203A.HCL,
  281. VDF0203A.VDW, and 123.L2C.  It also copies 123.COM into your chosen 123
  282. directory.  123.L2C is the real 123 loader, encrypted (it loades the 123.CMP
  283. file). The extension of this file does not matter.  It is really an
  284. encrypted .EXE file.
  285.  
  286.      We can now run 123.COM using DEBUG, trace just up to the point
  287. where it has decrypted 123.EXE, then write that file out.
  288.  
  289.           ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  290.        ****  E.G. USE FW.COM INSTEAD OF 123.COM FOR FRAMEWORK  ****
  291.  
  292. debug 123.com                   ; name of file that runs the product
  293. r <CR>                          ; dump debug's registers
  294.  
  295.           ****  WRITE DOWN THE VALUE OF DS FOR USE BELOW.  ****
  296.      ****  THIS VALUE IS DEPENDENT ON YOUR PARTICULAR MACHINE. ****
  297.  
  298. g 4FA                           ; now we can trace CML
  299. t                               ; this step changes segments into CML
  300. g 1B5
  301. t                               ; change segments
  302. a 7D
  303.         mov ax,cs               ; assemble new instruction here over xor ax,ax
  304. e cs:E9                         ; NOP out a mov ds,cx instruction
  305.         8E.90 D9.90             ; when debug reports 8E. you enter 90 <space>
  306.                                 ; when debug reports D9. you enter 90 <CR>
  307. e cs:F5                         ; change a jz instruction into a jmp
  308.         74.EB                   ; debug reports the 74 here, you enter EB
  309. e cs:107
  310.         8E.90 D8.90             ; NOP out a mov ds,ax
  311. e cs:119
  312.         8E.90 D9.90             ; NOP out a mov ds,cx
  313. e cs:1AA
  314.         CC.90                   ; NOP out an int 3
  315. g1AA                            ; go to this address
  316. e cs:1E6
  317.         CC.90                   ; NOP out an int 3
  318. e cs:200
  319.         E8.90 FF.90 03.90       ; NOP out a call 602
  320. e cs:269
  321.         26.2E                   ; change an es: to cs:
  322. e cs:26E                        ; change order of some pop instructions
  323.         1F.5A 5A.59 5F.5B 5B.5F 5E.5E 59.1F
  324. e cs:1B6
  325.         8E.90 DB.90             ; NOP out a mov ds.bx
  326. e cs:1DD
  327.         74.EB                   ; change a jz to a jmp
  328. a 44C
  329.         jmp 4BF                 ; jump to some code we need
  330. a 53C
  331.         jmp 455                 ; jump back into main line code
  332. a 4E1
  333.         mov bl,10               ; provide correct checksum value
  334. e cs:500
  335.         FE.90 C7.90             ; NOP out an inc bh
  336. e cs:52B
  337.         8E.90 D9.90             ; NOP out a mov ds,cx
  338. g 1E6
  339. t                               ; trace through two passes
  340. g 1E6
  341. g 290
  342. t                               ; change segments
  343. g 24D
  344. t                               ; change segments
  345. e cs:728
  346.         8C.90 1F.90             ; NOP out a mov [bx],ds
  347. e cs:431
  348.         89.90 07.90             ; NOP out a mov [bx],ds
  349. e cs:5BD
  350.         75.90 03.90             ; NOP out a jnz 5C2
  351. e cs:5F0
  352.         89.90 17.90             ; NOP out a mov [bx],dx
  353. e cs:5D8
  354.         74.EB                   ; change a jz to jmp
  355. g A41
  356. g AFA                           ; 123.EXE has been decrypted
  357.  
  358. d cs:1F1 L8                     ; just for grins, here's the password
  359.                'LOTUSKEY'
  360. e XXXX:100                      ; where XXXX is the value of DS that
  361.                                 ;   you wrote down at the beginning.
  362.         3B.4D 2E.5A             ; programs other than 123 rel 2 may
  363.                                 ; have some numbers here other than 3B 2E
  364.  
  365.               ****  USE THE FILE SIZE LISTED IN THE TABLE ABOVE  ****
  366.                  ****  THE VALUES HERE ARE FOR 123 2.00 ONLY  ****
  367.  
  368. rBX <CR>
  369. :0                              ; set BX to 0 for 123
  370. rCX <CR>
  371. :1C00                           ; set CX to 1C00 for 123
  372.  
  373.               ****  USE THE FILE NAME LISTED IN THE TABLE ABOVE  ****
  374.  
  375. n123.bin                        ; name of file to write to
  376. w XXXX:100                      ; again XXXX is the original DS value
  377. q                               ; quit debug
  378.  
  379.      Following the 123 instructions, UNINSTALL 123.  You can now
  380. put away your original 123 diskette.  We are done with it.  Delete 
  381. 123.COM and rename 123.BIN to 123.EXE.  This is the unprotected 123 
  382. loader which runs the 123.CMP program. We could not write it
  383. out with the .EXE extension because DEBUG cannot write .EXE files.
  384.  
  385.